<?$attributes = array('class' => 'design', 'id' => 'checknew');
echo form_open('design/dels', $attributes);?>    

<input type="hidden" name="page" value="<?php echo (int)$this->uri->segment('3')?>">
        <table class="admindata">
            <thead>
                <tr>
                    <th colspan="8">
                        <input type="submit" onclick="return verify_del();" name="btn_submit" class="submit" value="Xóa">
                        Hiện có <?php echo $num?> Design <?php echo $pagination?>
                        <div class="fr">
                           <!-- <a href="<?php echo site_url('staticpage/add')?>">Thêm mới</a> -->
                        </div>
                    </th>
                </tr>
                <tr>
                    <th class="checkbox"><input type="checkbox" name="sa" id="sa" onclick="check_chose('sa', 'ar_id[]', 'checknew')" /></th>
                     <th width="200">Họ tên</th>
                     <th width="100">Điện thoại</th>
                    <th width="100">Email</th>
                    <th width="100">Loại thiết kế</th>
                    <th width="100">Mã sản phẩm</th>
                     <th width="400">Thông số sản phẩm</th>
                    <th class="publish" style="width: 100px;">Active</th>
                </tr>                
            </thead>
            <?
            $k=1;
            foreach($list as $rs):?>
            <tr class="row<?php echo $k?>">
                <td><input type="checkbox" name="ar_id[]" value="<?php echo $rs->design_id ?>"></td>
                 <td><?php echo $rs->full_name ?></td>
                 <td><?php echo $rs->phone ?></td>
                 <td><?php echo $rs->email ?></td>
                 <td><?php echo $rs->type ?></td>
                <td>
                <?php echo $rs->code;?>
                </td>
             	 <td>
                Vai : <?php echo $rs->vai;?> ; &nbsp;&nbsp;&nbsp;&nbsp;Dài tay:<?php echo $rs->dai_tay;?> ;&nbsp;&nbsp;&nbsp;&nbsp; Dài áo:<?php echo $rs->dai_ao;?> ;&nbsp;&nbsp;&nbsp;&nbsp; Bắp tay:<?php echo $rs->bap_tay;?> ;&nbsp;&nbsp;&nbsp;&nbsp; Vòng ngực:<?php echo $rs->vong_nguc;?> ;&nbsp;&nbsp;&nbsp;&nbsp; Vòng eo: <?php echo $rs->vong_eo;?>;&nbsp;&nbsp;&nbsp;&nbsp; Vòng mông:<?php echo $rs->vong_mong;?> ;&nbsp;&nbsp;&nbsp;&nbsp; Vòng cổ: <?php echo $rs->vong_co;?>
                </td>
                
                <td align="center">
                    <?php echo icon_edit('design/edit/'.$rs->design_id)?>
                    <span id="publish<?php echo $rs->design_id?>">
					<?php echo icon_active("'design'","'design_id'",$rs->design_id,$rs->bl_active)?>
                    </span>
                    <?php echo icon_del('design/del/'.$rs->design_id.'/'.(int)$this->uri->segment(4))?>
                </td>
            </tr>
            <?
            $k=1-$k;
            endforeach;?>
            <tfoot>
                <td colspan="8">
                    <?php if($this->acl->check('dels','mod_other','staticpage')){ ?> 
                        <input type="submit" onclick="return verify_del();" name="btn_submit" class="submit" value="Xóa">
                        <?php } ?>
                    Hiện có <?php echo $num?> Bài viết <?php echo $pagination?>
                </td>
            </tfoot>
        </table>  
<?php echo form_close()?>  
